package com.itheima.mapper;

import com.itheima.pojo.Clazz;
import com.itheima.pojo.ClazzQueryParam;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;


@Mapper
public interface ClazzMapper {

    void deleteById(Integer id);

    List<Clazz> listAll();

    void update(Clazz clazz);

    Clazz findById(Integer id);

    void insert(Clazz clazz);

    List<Clazz> page(ClazzQueryParam clazzQueryParam);
}
